package lumis.portal.serviceinterfaceinstance.serialization;

import java.util.Map;

import lumis.portal.serviceinterfaceinstance.ServiceInterfaceInstanceConfig;

/**
 * Represents a service interface instance and its custom properties
 *
 * @version $Revision: 11914 $ $Date: 2010-09-08 14:41:41 -0300 (Wed, 08 Sep 2010) $
 * @since 4.0.9
 */
public class ServiceInterfaceInstancePersistableConfig
{
	private final ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig;
	private final Map<String, String> customProperties;
	public ServiceInterfaceInstancePersistableConfig(final ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, final Map<String, String> customProperties)
	{
		super();
		this.serviceInterfaceInstanceConfig = serviceInterfaceInstanceConfig;
		this.customProperties = customProperties;
	}
	public Map<String, String> getCustomProperties()
	{
		return customProperties;
	}
	public ServiceInterfaceInstanceConfig getServiceInterfaceInstanceConfig()
	{
		return serviceInterfaceInstanceConfig;
	}
}
